/*
 *
 *    Copyright (c) 2022 Project CHIP Authors
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

// THIS FILE IS GENERATED BY ZAP
// This file is generated from clusters-Enums-Check.h.zapt

#pragma once

#include <clusters/WindowCovering/Enums.h>

namespace chip
{
namespace app
{
	namespace Clusters
	{
		static auto __attribute__((unused)) EnsureKnownEnumValue(WindowCovering::EndProductType val)
		{
			using EnumType = WindowCovering::EndProductType;
			switch (val) {
			case EnumType::kRollerShade:
			case EnumType::kRomanShade:
			case EnumType::kBalloonShade:
			case EnumType::kWovenWood:
			case EnumType::kPleatedShade:
			case EnumType::kCellularShade:
			case EnumType::kLayeredShade:
			case EnumType::kLayeredShade2D:
			case EnumType::kSheerShade:
			case EnumType::kTiltOnlyInteriorBlind:
			case EnumType::kInteriorBlind:
			case EnumType::kVerticalBlindStripCurtain:
			case EnumType::kInteriorVenetianBlind:
			case EnumType::kExteriorVenetianBlind:
			case EnumType::kLateralLeftCurtain:
			case EnumType::kLateralRightCurtain:
			case EnumType::kCentralCurtain:
			case EnumType::kRollerShutter:
			case EnumType::kExteriorVerticalScreen:
			case EnumType::kAwningTerracePatio:
			case EnumType::kAwningVerticalScreen:
			case EnumType::kTiltOnlyPergola:
			case EnumType::kSwingingShutter:
			case EnumType::kSlidingShutter:
			case EnumType::kUnknown:
				return val;
			default:
				return EnumType::kUnknownEnumValue;
			}
		}
		static auto __attribute__((unused)) EnsureKnownEnumValue(WindowCovering::Type val)
		{
			using EnumType = WindowCovering::Type;
			switch (val) {
			case EnumType::kRollerShade:
			case EnumType::kRollerShade2Motor:
			case EnumType::kRollerShadeExterior:
			case EnumType::kRollerShadeExterior2Motor:
			case EnumType::kDrapery:
			case EnumType::kAwning:
			case EnumType::kShutter:
			case EnumType::kTiltBlindTiltOnly:
			case EnumType::kTiltBlindLiftAndTilt:
			case EnumType::kProjectorScreen:
			case EnumType::kUnknown:
				return val;
			default:
				return EnumType::kUnknownEnumValue;
			}
		}
	} // namespace Clusters
} // namespace app
} // namespace chip
